package com.rgst.vo;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.rgst.validator.em.IsIdNo;

/**
 * Created by tancw on 2019/11/20.
 */
public class RgstUserVo extends BaseVo {
    @NotEmpty(message = "家长姓名不能为空")
    private String realname;
    @NotEmpty(message = "家长电话不能为空")
    private String mobile;
    @NotNull(message = "家长性别不能为空")
    private int sex;
    @IsIdNo(message = "请填写正确的身份证信息")
    private String idno;
    @NotEmpty(message = "联系地址不能为空")
    private String address;
    private String remark;
    @NotEmpty(message = "家长登录密码不能为空")
    private String password;

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getIdno() {
        return idno;
    }

    public void setIdno(String idno) {
        this.idno = idno;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
